Define Macros


  

Define Macros

Selecting Define Macros from the menu displays the Macro Assignments form. This form provides all the functions necessary to create, modify, and maintain macros for your help system.

 

26 new macros have been added for WinHelp 4.0. Definitions for these macros can be found in the Help Magician's on line help system under Macro  Reference.   

    

Editor Menu Add to Def.htm Editor Menu Clear Arg.htm Editor Menu Clear All.htm Help Label.htm Display Macros.htm Hints2Macro Ref.htm Prototypes List.htm Prototypes Button.htm Syntax Checking.htm Macro Status Indicators.htm Editor.htm Editor Button.htm Exit Button.htm Help Button.htm Macro List.htm Macros Button.htm Locator Fields.htm Locator Fields.htm Definitions List.htm Macro Definitions.htm      

 

Step by Step   

 

A.Create a Macro Definition.

 

1.Select the Definitions button.

2.Select Add from the menu.

3.Enter a name for the Macro Definition (ex. "Play_Music")

4.Select the OK button.   

 

B.Create Macros and add them to the Definition.

 

1.Create a macro in the Editor using one of the following ways:   

 

·Copy a macro Prototype to the Editor by double clicking on it or using the Prototypes menu.

·Copy an existing Macro from the Macros list to the Editor using the Macros menu.

·Turn Syntax Checking off and enter a macro from scratch (not advised for novices).   

 

2.Edit the macro in the Editor.

 

·Click on or move over each argument, if they exist, and either edit the argument or use the Hints button to choose a value from a list of options.   

 

3.Add the macro to the Macros list using one of the ways below:

 

·Select the Add Macro to List button.

·Select the Editor button and then Add Macro to List.

·Type Ctrl-W.   

 

See Also

Macro Form Controls